package com.cookman.assets;

import com.badlogic.gdx.assets.AssetErrorListener;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.utils.Disposable;

/**
 * Created by Cookman on 06.02.2015.
 */
public interface Assets extends Disposable, AssetErrorListener {
    void init(AssetManager assetManager);
    Sprite getSpriteByAtlasRegion(String group, String name) throws Exception;
}
